package java67_16;

public class JavaTeacher {
	private String name, school;

	public JavaTeacher() {
		// 无参的构造方法尽量留着,除非真的没有必要
	}

	public JavaTeacher(String name, String school) {
		super();
		this.name = name;
		this.school = school;
	}

	public void selfIntro() {
		System.out.println("我叫" + name + ",来自" + school);
	}

	public void giveLession() {
		System.out.println(name + "在上课....");
		System.out.println("打开Eclipse");
		System.out.println("知识点讲解,总结提问布置作业");
	}
}
